package com.hns.can.service.entity;

import com.hns.can.common.entity.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 电子围栏报警实体
 * @author:zhangzq
 * @email:
 * @version Revision 2.0.0
 */
@Entity
@Table(name = "T_COMM_ELECT_FENC_ALM")
public class CommElectFencAlmEntity extends BaseEntity {

    // Fields

    private String    rcrdId;
    private String    corpId;
    private String    organId;
    private String    lineId;
    private String    carId;
    private String    eqmtCode;
    private String    rcrdTime;
    private String    fencCd;
    private String    inoutType;
    private String    inoutTime;
    private BigDecimal inoutSpdOfMotVhi;
    private BigDecimal inoutLgt;
    private BigDecimal inoutLtt;
    private BigDecimal inoutDrc;
    private BigDecimal canSpeed;
    private Date genTime;

    @Transient
    private String licPltNo;
    @Transient
    private String lineName;
    @Transient
    private String organName;
    @Transient
    private String fencId;
    @Transient
    private String fencName;

    /** default constructor */
    public CommElectFencAlmEntity() {
    }

    @Id
    @Column(name = "RCRD_ID",
            unique = true,
            nullable = false,
            length = 32)
    public String getRcrdId() {
        return rcrdId;
    }

    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }

    @Column(name = "CORP_ID")
    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    @Column(name = "ORGAN_ID")
    public String getOrganId() {
        return organId;
    }

    public void setOrganId(String organId) {
        this.organId = organId;
    }

    @Column(name = "LINE_ID")
    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    @Column(name = "CAR_ID")
    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    @Column(name = "EQMT_CODE")
    public String getEqmtCode() {
        return eqmtCode;
    }

    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }

    @Override
    @Column(name = "RCRD_TIME")
    public String getRcrdTime() {
        return rcrdTime;
    }

    @Override
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }

    @Column(name = "FENC_CD")
    public String getFencCd() {
        return fencCd;
    }

    public void setFencCd(String fencCd) {
        this.fencCd = fencCd;
    }

    @Column(name = "INOUT_TYPE")
    public String getInoutType() {
        return inoutType;
    }

    public void setInoutType(String inoutType) {
        this.inoutType = inoutType;
    }

    @Column(name = "INOUT_TIME")
    public String getInoutTime() {
        return inoutTime;
    }

    public void setInoutTime(String inoutTime) {
        this.inoutTime = inoutTime;
    }

    @Column(name = "INOUT_SPD_OF_MOT_VHI")
    public BigDecimal getInoutSpdOfMotVhi() {
        return inoutSpdOfMotVhi;
    }

    public void setInoutSpdOfMotVhi(BigDecimal inoutSpdOfMotVhi) {
        this.inoutSpdOfMotVhi = inoutSpdOfMotVhi;
    }

    @Column(name = "INOUT_LGT")
    public BigDecimal getInoutLgt() {
        return inoutLgt;
    }

    public void setInoutLgt(BigDecimal inoutLgt) {
        this.inoutLgt = inoutLgt;
    }

    @Column(name = "INOUT_LTT")
    public BigDecimal getInoutLtt() {
        return inoutLtt;
    }

    public void setInoutLtt(BigDecimal inoutLtt) {
        this.inoutLtt = inoutLtt;
    }

    @Column(name = "INOUT_DRC")
    public BigDecimal getInoutDrc() {
        return inoutDrc;
    }

    public void setInoutDrc(BigDecimal inoutDrc) {
        this.inoutDrc = inoutDrc;
    }

    @Column(name = "CAN_SPEED")
    public BigDecimal getCanSpeed() {
        return canSpeed;
    }

    public void setCanSpeed(BigDecimal canSpeed) {
        this.canSpeed = canSpeed;
    }

    @Column(name = "GEN_TIME")
    public Date getGenTime() {
        return genTime;
    }

    public void setGenTime(Date genTime) {
        this.genTime = genTime;
    }

    public String getLicPltNo() {
        return licPltNo;
    }

    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getFencId() {
        return fencId;
    }

    public void setFencId(String fencId) {
        this.fencId = fencId;
    }

    public String getFencName() {
        return fencName;
    }

    public void setFencName(String fencName) {
        this.fencName = fencName;
    }
}
